package com.fyp.client.ptma.xml;

import org.simpleframework.xml.Element;
import org.simpleframework.xml.Root;

import com.fyp.client.ptma.model.Downloader;

/**
 * 
 * @author yahya
 * 
 */
@Root(name = "response")
public class ResponseXml
{
	public static final int NOT_LOGGEDIN = 4;
	public static final int NOT_REGISTERED = 5;
	public static final int OK = 6;

	@Element(name = "statusCode")
	private int statusCode;

	@Element(name = "body", required = false)
	private Downloader responseBody;

	/*********************************************************************************************************/
	public int getStatusCode()
	{
		return statusCode;
	}

	public void setStatusCode(int statusCode)
	{
		this.statusCode = statusCode;
	}

	public Downloader getResponseBody()
	{
		return responseBody;
	}

	public void setResponseBody(Downloader responseBody)
	{
		this.responseBody = responseBody;
	}

}
